Vapi Metadata Metamodel GenericInstantiation
The Vapi Metadata Metamodel GenericInstantiation schema describes the type information of a typed element when the type is an instantiation of one of the generic types provided by the infrastructure.
{
"generic_type": "string",
"element_type": "Vapi Metadata Metamodel Type Object",
"map_key_type": "Vapi Metadata Metamodel Type Object",
"map_value_type": "Vapi Metadata Metamodel Type Object"
}
The generic type that is being instantiated.
For more information see: Vapi Metadata Metamodel GenericInstantiation GenericType.
Type of the element parameter if the generic type instantiation is a Vapi Metadata Metamodel GenericInstantiation GenericType.LIST, Vapi Metadata Metamodel GenericInstantiation GenericType.OPTIONAL or Vapi Metadata Metamodel GenericInstantiation GenericType.SET.
This property is optional and it is only relevant when the value of generic_type is one of Vapi Metadata Metamodel GenericInstantiation GenericType.LIST, Vapi Metadata Metamodel GenericInstantiation GenericType.OPTIONAL, or Vapi Metadata Metamodel GenericInstantiation GenericType.SET.
Type of the key parameter of the map generic type instantiation. The map generic type has a key parameter and value parameter. The type of the value parameter is described by Vapi Metadata Metamodel GenericInstantiation.map_value_type..
This property is optional and it is only relevant when the value of generic_type is Vapi Metadata Metamodel GenericInstantiation GenericType.MAP.
Type of the value parameter of the map generic type instantiation. The map generic type has a key parameter and value parameter. The type of the key parameter is described by Vapi Metadata Metamodel GenericInstantiation.map_key_type..
This property is optional and it is only relevant when the value of generic_type is Vapi Metadata Metamodel GenericInstantiation GenericType.MAP.